/*
 * @Author: linjie linjie@gysk.com.cn
 * @Date: 2023-07-06 11:37:18
 * @LastEditors: linjie linjie@gysk.com.cn
 * @LastEditTime: 2024-05-09 14:40:24
 * @FilePath: \esale-pc-frontend\src\api\common.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import requests from '@/api/request'
const SERVER_URL = ''

export const postUserData = (data) => requests({ url: `${SERVER_URL}/v1/api/user/user/queryByCondition`, method: 'post', data })
// 产品查询
export const postProductData = (data) => requests({ url: `${SERVER_URL}/v1/api/backend/product/queryByCondition`, method: 'post', data })
// 通过字典编号查询字典列表
export const postQueryBySysDictNos = (data) => requests({ url: `${SERVER_URL}/v1/api/backend/sysDict/queryBySysDictNos`, method: 'post', data })
// 查询机构树
export const getQueryOrgTree = () => requests({ url: `${SERVER_URL}/v1/api/user/organization/open/queryTree`, method: 'get' })
